package com.liuguang.article.dao;

import com.liuguang.api.article.pojo.ArticleContentDo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ArticleContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticleContentDo record);

    int insertSelective(ArticleContentDo record);

    ArticleContentDo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticleContentDo record);

    int updateByPrimaryKeyWithBLOBs(ArticleContentDo record);


    List<ArticleContentDo> getAllArticleData();
}